package VO

import "time"

type ListArticleVO struct {
	ID           uint
	UpdatedAt    time.Time
	Draft        bool   `gorm:"not null" json:"draft"`
	Title        string `gorm:"type:varchar(255);not null" json:"title"`
	Content      string `gorm:"type:text;not null" json:"content"`
	AuthorID     uint   `gorm:"not null" json:"author_id"`
	ChannelId    uint   `gorm:"not null" json:"channel_id"`
	CoverId      uint   `gorm:"not null" json:"cover_id"`
	ReadCount    uint   `gorm:"not null" json:"read_count"`
	CommentCount uint   `gorm:"not null" json:"comment_count"`
	LikeCount    uint   `gorm:"not null" json:"like_count"`
	StarCount    uint   `gorm:"not null" json:"star_count"`
	CoverUrl     string `gorm:"type:varchar(2000);not null" json:"cover_url"`
}
